//package com.plian.system.service.fr.internalauditmanagement.impl;
//
//import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
//import com.plian.Tools.*;
//import com.plian.system.entity.fr.internalauditmanagement.IamWorkSystemDetail;
//import com.plian.system.mapper.fr.internalauditmanagement.IamWorkSystemDetailMapper;
//import com.plian.system.mybatis.base.BaseServiceImpl;
//import com.plian.system.service.fr.internalauditmanagement.IamWorkSystemDetailService;
//import lombok.AllArgsConstructor;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Service;
//
//import java.util.*;
//import java.util.stream.Collectors;
//
///**
// * @author jiatp
// * @create 2023-02-20
// **/
//@Service
//@Slf4j
//@AllArgsConstructor
//public class IamWorkSystemDetailServiceImpl extends BaseServiceImpl<IamWorkSystemDetailMapper, IamWorkSystemDetail> implements IamWorkSystemDetailService {
//
//    @Override
//    public boolean deleteByParentId(List<Long> ids) {
//        LambdaQueryWrapper<IamWorkSystemDetail> queryWrapper = new LambdaQueryWrapper<>();
//        queryWrapper.in(IamWorkSystemDetail::getAuditId, ids);
//        List<IamWorkSystemDetail> systemDetailList = list(queryWrapper);
//        if (CollectionUtil.isNotEmpty(systemDetailList)){
//            return deleteLogic(systemDetailList.stream().map(IamWorkSystemDetail::getId).collect(Collectors.toList()));
//        }
//        return true;
//    }
//}
